package com.movitech.mobile.cz.base.purchase.mapper.ext;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.movitech.mobile.cz.base.purchase.entity.ext.ExtWFlowFormBackBid;
import com.movitech.mobile.cz.base.purchase.entity.resultType.IdName;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 流程表单-供应商入围-回标 Mapper 接口
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-19
 */
@Component
@Mapper
public interface ExtWFlowFormBackBidMapper extends BaseMapper<ExtWFlowFormBackBid> {

    List<ExtWFlowFormBackBid> getBackBidByMap(Map<String,Object> map);

    List<String> selectSupplieridsWithBackBid(String formId);

    List<String> selectSupplieridsByMap(Map<String, Object> param);

    List<String> selectSupplierSysIdsByMap(Map<String, Object> map);

    List<IdName> selectIdAndNameByMap(Map<String,Object> map);

    Map<String,String> querySupplierIdAndDrakCodeByFormId(String formId);
}
